<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>z7z8</title>
  <script type="text/javascript">
    (function () {
      function calc() {
        document.documentElement.style.fontSize = document.documentElement.clientWidth / 1920 * 100 + 'px';
      }
      calc();
      window.onresize = function () {
        calc();
      };
    })()
  </script>
</head>

<body>
  <div id="app"></div>
  <script type="module" src="/src/main.js"></script>
</body>

</html>